!'use strict';
let accountManagementController = require('../../../app/controller/back/system/accountManagementController');
accountManagementController = ModelProxy(accountManagementController);
let router = require('express').Router();

router.get('/page',accountManagementController.accountManagementPage);
// 账户管理列表
router.post('/list', accountManagementController.accountManagementList);
//账户管理--创建
router.get('/create/page', accountManagementController.accountManagementCreatePage);
router.post('/create/save', accountManagementController.accountManagementCreateSave);
//账户管理——修改
router.get('/update/page', accountManagementController.accountManagementUpdatePage);
router.post('/update/save', accountManagementController.accountManagementUpdateSave);
//分组管理——删除
router.post('/delete', accountManagementController.accountManagementDelete);
//分组管理——重置密码
router.post('/reset', accountManagementController.accountManagementReset);

module.exports = router;

